import request from "@/utils/request";
const productPrice = {
  // 查询订单价格趋势列表
  getProductPriceList(queryParams: any) {
    let query = encodeURIComponent(JSON.stringify({ ...queryParams }));
    return request<any, any>({
      url: `/core/productPrice/getProductPriceList?object=${query}`,
      method: "get",
    });
  },
  // 保存或更新订单价格趋势
  saveOrUpdateProductPrice(data: any) {
    return request({
      url: `/core/productPrice/saveOrUpdateProductPrice`,
      method: "post",
      data: data,
    });
  },
};
export default productPrice;
